/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.imyours.model.team;

import java.util.Set;

import com.imyours.model.user.UserEntity;

/**
 * 用户分组
 * 
 * @author Slevenc
 */
public class TeamEntity {
	// Teamid
	private long id;
	// 顺序
	private int order;
	// 属于用户
	private UserEntity user;
	// 组名
	private String name;
	// 包含的用户
	private Set<UserEntity> Users;

	/**
	 * @return the id
	 */
	public long getId() {
		return id;
	}

	/**
	 * @param id
	 *            the id to set
	 */
	public void setId(long id) {
		this.id = id;
	}

	/**
	 * @return the order
	 */
	public int getOrder() {
		return order;
	}

	/**
	 * @param order
	 *            the order to set
	 */
	public void setOrder(int order) {
		this.order = order;
	}

	/**
	 * @return the user
	 */
	public UserEntity getUser() {
		return user;
	}

	/**
	 * @param user
	 *            the user to set
	 */
	public void setUser(UserEntity user) {
		this.user = user;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	public Set<UserEntity> getUsers() {
		return Users;
	}

	public void setUsers(Set<UserEntity> users) {
		Users = users;
	}




}
